<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>用户信息</title>
</head>
<body>
	<p>当前登录用户：{{ user.username}} - {{ user.email }}</p>
	{% if user.is_authenticated %}
	<a href="{% url 'index:logout'%}">退出</a>
	{% endif %}
</body>
</html>